package com.j180.spring_jwt_demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.j180.spring_jwt_demo.dao")
@ServletComponentScan //扫描servlet容器的主件
public class SpringJwtDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringJwtDemoApplication.class, args);
    }

}
